﻿#pragma once
#define LISTMSG_GETGNSS 5003

// GNSSListDlg 对话框

class GNSSListDlg : public CDialogEx
{
	DECLARE_DYNAMIC(GNSSListDlg)

public:
	GNSSListDlg(CWnd* pParent = nullptr);   // 标准构造函数
	virtual ~GNSSListDlg();
	HICON m_hIcon;

// 对话框数据
#ifdef AFX_DESIGN_TIME
	enum { IDD = IDD_DIALOG_GNSSLIST };
#endif

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV 支持
	virtual BOOL OnInitDialog();

	DECLARE_MESSAGE_MAP()
public:
	const CString titles[10] = {
		L"second",
		L"vh m/s",
		L"yaw deg",
		L"vu m/s",
		L"Lat deg",
		L"Lng deg",
		L"H m",
		L"dlt_H",
		L"nSat",
		L"HDOP",
	};
	const INT width[10] = { 60,80,80 ,80 ,140 ,140 ,80 ,80,70,70 };
	INT nextRowNUm = 0;

	CListCtrl datalist;

	afx_msg LRESULT addData(WPARAM wParam, LPARAM lParam);
};
